<?php
/**
 * Created by PhpStorm.
 * User: s78
 * Date: 2018/9/14
 * Time: 11:33
 */

namespace app\admin\model;

use think\Model;

class User extends Model
{
    protected $table = 'dj_user';
    protected $pk = 'id';

    public function setPass($pass)
    {
        return md5($pass);
    }
}